package com.example.stock.service;

import com.example.stock.controller.dto.WeekPctStatDTO;
import com.example.stock.controller.vo.WeekDetailVO;
import com.example.stock.model.WeekDetail;

import java.util.List;
import java.util.Map;

public interface WeekDataService {

    WeekDetail getCurrentWeekDetail(String stock);

    List<WeekDetailVO> getWeekData(String stock);

    List<WeekDetail> getWeekRawData(String stock);

    List<WeekDetail> getWeekRawDataByDate(String date);

    List<WeekPctStatDTO> getWeekMeanGt(String date);

    List<WeekDetail> getWeekPctMostDecrease(int num);

    List<WeekDetail> getWeekMostPctSum();

    Map<String, List<WeekDetail>> getWeekRawData(List<String> stocks);

    List<String> getWeekPctStatKeys();

    List<String> getWeekPctStatKeys(int num);

    List<WeekPctStatDTO> getWeekPctStatList(String week);
}
